package com.nuoniu.sibanyun.service.po;

import com.baomidou.mybatisplus.extension.service.IService;
import com.nuoniu.sibanyun.entity.bo.UnExecutedBo;
import com.nuoniu.sibanyun.entity.po.VPurchaseArrivalDetail;

import java.util.List;

/**
 * <p>
 * 采购到货单明细表 服务类
 * </p>
 *
 * @author 小啊刚
 * @since 2020-11-19
 */
public interface IVPurchaseArrivalDetailService extends IService<VPurchaseArrivalDetail> {

    void removeByOrderId(Long orderId);

    List<VPurchaseArrivalDetail> getOrderDetails(Long orderId);

    /**
     * 获取 采购退货 未执行数量 情况
     * @param inventoryIds
     * @return
     */
    List<UnExecutedBo> getRetUnExecuteQuantity(String inventoryIds,String warehouseIds);

}
